﻿using System;
using System.Data;

public partial class Web_RBList : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            BindData();
        }
    }

    private void BindData()
    {
        DataTable dt = new DataTable();
        dt.Columns.Add("banbie");
        dt.Columns.Add("time");
        DataRow dr = dt.NewRow();
        dr["banbie"] = "夜班";
        dr["time"] = "2013-7-21";
        dt.Rows.Add(dr);

        rpList.DataSource = dt;
        rpList.DataBind();

    }

    
}
